package com.itheima.spring_123_06.dao;

import com.itheima.spring_123_06.pojo.User;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;


import java.util.List;

@Repository
@Mapper
public interface UserDao {
    @Select("SELECT * FROM t_user")
    List<User> findUser();
}
